import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.firefox.FirefoxDriver;

public class justATest2 {
	// Declare the objects and variables to use
	FirefoxDriver driver;
	String baseUrl;
	
	@Before
	public void setUp() throws Exception {
	
		// Main @Before code
		System.out.println("Hello this is @Before every @Test");
		driver = new FirefoxDriver(); // creating an object instance
/*		String v1 = "Karthik"; // created a new variable
		System.out.println("v1");
		System.out.println(v1);
		v1 = "Seema";
		System.out.println(v1);*/
		baseUrl = "http://www.youtube.com/";
		System.out.println(baseUrl);
	}
	
	@Test
	public void test1() throws Exception {
		System.out.println("Hello this is @Test1");
		System.out.println(baseUrl);
	}
	
	@After
	public void tearDown() throws Exception {
		System.out.println("Hello this is @After every @Test");
	}

}
